home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993 October: Windmill on DISC / ADC Developer CD (1993-10) (''Windmill On DISC'')_iso / Dev.CD Oct 93.iso / System Software / U.S. System Software / System 7 Pro™ Beta 11 / Development Tools / Sample Code / Messaging Service Access Module / Internet PMSAM / Internet PMSAM source / globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-19  |  1.8 KB  |  49 lines  |  [TEXT/MPS ]

  1. /*-------------------------------------------------------------------
  2.  
  3. AOCE Post Office Protocol (POP) / Simple Mail Transfer Protocol (SMTP)
  4. Mail Service Access Module
  5.  
  6. written by Steve Falkenburg-- MacDTS
  7. ©1991-1993 Apple Computer, Inc.
  8.  
  9. --------------
  10. change history
  11. --------------
  12.  
  13. SJF        02/19/93    update for beta build    b1
  14. SJF        10/29/92    update to a11            a11
  15. SJF        06/08/92    update to a8            a8
  16. SJF        02/15/92    first working version    a4.5
  17. SJF        10/16/91    initial coding            a3
  18.  
  19. ---------------------------------------------------------------------*/
  20.  
  21. #ifndef __MYTYPES__
  22. #include "mytypes.h"
  23. #endif
  24.  
  25. /* application-level globals */
  26.  
  27. Boolean        gDone;                        // set to true when program should quit
  28. Boolean        gWakeUp,gWakeUpSecondary;    // make sure wakeupprocess affects the next wne
  29. ProcessSerialNumber    gOurPSN;            // process serial # for wakeupprocess
  30.  
  31. /* AOCE globals */
  32.  
  33. Boolean        gAOCEInited;                // true if AOCE has been inited
  34. short        gNumSlots;                    // # of slots
  35. SlotSpec    gSlotDatabase[kMaxSlots+1];    // slot database in memory
  36. CreationID    gMSAMCID;                    // creation ID of gateway (MSAM)
  37. CreationID    gAOCESetupCID;                // creation ID of the AOCE setup directory
  38. short        gAOCESetupDSRef;            // ds refnum of the AOCE setup directory
  39. LocalIdentity gLocalIdentity;            // the computer's local identity
  40. Boolean        gAuthUnlocked;                // true if the local identity is unlocked
  41. Boolean        gAuthRefresh;                // true if the dir identities need to be refreshed
  42. short        gAuthInCriticalSection;        // semaphore indicating when the ID can't be locked
  43. Boolean        gUpdateSlotInformation;        // true when we need to re-read slot information
  44. HLEventQ    *gHLEventAdd,*gHLEventRemove;//high level event queue head,tail
  45. /* external network specific globals */
  46.  
  47. short        gTCPDrvrRefNum;                // driver ref num for MacTCP
  48. char        gOurIPString[256];            // for SMTP gateway "HELO" message
  49.